package com.hooda.session;

import java.util.List;

/**
 * @author zhangzp
 * @version 1.0, 2021/7/29
 */
public interface SqlSession {

    <E> E selectOne(String statementId, Object... parameters) throws Exception;

    <T> List<T> selectList(String statementId, Object... parameters) throws Exception;

    <T> T getMapper(Class<T> clazz);
}
